//
//  UIImageView+XYX.swift
//  E-CycleForShop
//
//  Created by enghou on 17/3/3.
//  Copyright © 2017年 xyxorigation. All rights reserved.
//

import UIKit
extension UIImageView{
    func setImage(url : String) -> Void {
        let url = URL.init(string: url)!
        KingfisherManager.shared.retrieveImage(with: url, options: nil, progressBlock: nil, completionHandler: {(image,error,cachetype,imageURL) in
            self.image = image
        })
        
    }
}
